html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: url(../images/login_bg.jpg) no-repeat center;
  background-size: cover;
}
/* 表单盒子 */
.nav {
  position: absolute;
  width: 400px;
  height: 300px;
  background-color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 40px;
}
/* 头部背景 */
.nav-top {
  height: 60px;
  background: url(../images/login_title.png) no-repeat center;
}
/* 字体图标 */
.layui-icon {
  position: absolute;
  left: 10px;
  top: 10px;
}
/* input盒子 */
.layui-form-zh {
  position: relative;
}
/* input外边距 */
.layui-input {
  margin-bottom: 20px;
  padding-left: 30px;
}
/* 注册页面内边距 */
.layui-form-zc {
  padding: 10px;
}
/* 登陆 */
.login-box,
.reg-box {
  display: flex;
  justify-content: flex-end;
}
